Creating your library using the vendor block

This section gives a condensed version of the steps only. See "Creating custom library with user blocks" for details on how to create a custom library.

  1. Create your custom library.
    Within the library configuration, specify the vendor block after the statement IEC := 

    Example for library configuration

    LIBRARY com.oem1.lib1
      VERSION := 1.1.0;
      PACKAGETYPE := zip;
      FOLDER "OEM-Library"
        IEC := com.oem1.lib1.TestVendor01;
      END_FOLDER
    END_LIBRARY

    (info) You do not have to specify the C- and H-file within the library configuration. They will automatically be integrated into the generated library.

  2. Generate the library based on the library configuration.

  3. Deploy the generated library.